<template>
    <el-container>
        <el-main>
            <el-table :data="tableData" stripe element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.8)" v-loading.fullscreen.lock="loading">
                <el-table-column label="主页类型" width="200">
                    <template #="{ tabIndex }">
                        <div v-if="tabIndex == 1">资质</div>
                        <div v-if="tabIndex == 2">案例</div>
                    </template>
                </el-table-column>
                <el-table-column prop="ysName" label="医生姓名" width="80" />
                <el-table-column prop="zsName" label="诊所名称" width="195" />
                <el-table-column prop="num" label="访问次数" width="120" />
                <el-table-column prop="lastvisittime" label="最后访问时间" width="160" />
            </el-table>
            <SearchPagination :currentPage="currentPage" :total="total" :limit="limit" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange" />
        </el-main>
    </el-container>
</template>

<script>
import { page } from '@/chaos/functions/mixin/crud';

export default {
    name: 'uservisitcount',
    mixins: [page],
    data() {
        return {
            domain: 'iyaUserDoctorHistory'
        };
    },
    created() {
        this.data.userMu = this.$route.params.mu;
        this.search();
    },
    methods: {}
};
</script>
<style scoped></style>
